﻿using System;
class Program
    {
        public static void Main(string[] args)
        {
            Test001 testObj = new Test001();
            int i = testObj.x1();
            Console.WriteLine(i);
        }
}

class Test001
{

        public int x1()
        {
            return new Test002().x2() + 1;
        }

}

class Test002
{
        public  int x2()
        {
            return x3(2) + 1;
        }

        public  int x3(int j)
        {
            return new Test003().x4() + 1;
        }
}

class Test003
{
        public  int x4()
        {
            int i = 11;

            if (i < 100)
                return x5() + 1;
            else 
                return x6() + 100;
        }

        private int x6()
        {
            int j = 10;
            
            for (int i = 0; i < 100; i++) j += i;
            
            return j;
        }

        public  int x5()
        {
            DataMapperSample.EmployeeDataMapper ed = new DataMapperSample.EmployeeDataMapper();
            ed.Insert(new DataMapperSample.Employee());
            
            ed.Delete(1);

            DataMapperSample.EmployeeDataMapper ed2 = new DataMapperSample.EmployeeDataMapper();
            ed2.Update(new DataMapperSample.Employee());

            return 10;
        }

    }
